package com.yang.service.impl;

import java.sql.SQLException;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Repository;

import com.yang.dao.LocationDAO;
import com.yang.service.LocationService;
import com.yang.vo.LocationInfoVO;

@Repository("LocationServiceImpl")
public class LocationServiceImpl implements LocationService{
	
	@Resource(name="LocationDAOImpl")
	private LocationDAO dao;

	public void insertLocation(LocationInfoVO vo) throws SQLException {
		dao.insertLocation(vo);
	}

	public Map<String, String> selectMemberLocation(String memberId)
			throws SQLException {
		
		return dao.selectMemberLocation(memberId);
	}
	
	

}
